package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-08-15
 * Time: 23:23
 */
public class Test {
    public static void main(String[] args) {
        Comp comp = new Comp();

        MOUSE mouse = new MOUSE();

        Keyboard keyboard = new Keyboard();

        comp.useservice(mouse);
        System.out.println("================");
        comp.useservice(keyboard);

        comp.poweroff();

    }
}
